@extends('home.base.user')
@section('content')
<div class="f_r personal_r">
    <div class="personal_r_t"></div>
    <div class="personal_r_m">
        <div class="personal_r_m_t">
            <h2>编辑个人信息</h2>
        </div><!--personal_r_m_t end-->
        <div class="personal_r_m_m edit_info">
        <form method="post" action="/home1/info/{{$user->id}}">
            <input type="hidden" name="_token" value="{{csrf_token()}}">
            <input type="hidden" name="_method" value="PUT">
            <div class="blank10"></div>
            <div class="edit_info_t"><h3 class="f_l">个人基本信息</h3><p class="f_r">带<span class="red">(*)</span>的为必填项</p></div>
            <div class="edit_info_m">
                <table width="100%">
                    <tbody>
                        <tr>
                            <td align="right" width="140px"><span class="red">*</span> 姓名：</td>
                            <td><input type="text" name="" disabled value="{{$user->username}}" class="info_input info_input_170" /></td>
                        </tr>
                        <tr>
                            <td align="right">真实姓名：</td>
                            <td><input type="text" name="realname" id="" value="{{$user->realname}}" class="info_input info_input_170" /></td>
                        </tr>
                        <tr>
                            <td align="right"><span class="red">*</span> 性别：</td>
                            <td>
                                <input type="radio" name="sex" value="0" id="men" {{$user->sex==0?'checked':''}} /><label for="men">男</label>
                                <input type="radio" name="sex" value="1" id="women" {{$user->sex==1?'checked':''}} /><label for="women">女</label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right"><span class="red">*</span> <span style="font-family:Arial;">Email</span>：</td>
                            <td><input type="text" name="" disabled value="{{$user->email}}" class="info_input info_input_170" /></td>
                        </tr>
                        <tr>
                            <td align="right"><span class="red">*</span> 手机：</td>
                            <td><input type="text" name="tel" id="" value="{{$user->tel}}" class="info_input info_input_170" /></td>
                        </tr>
                        <tr>
                            <td align="right">邮政编码：</td>
                            <td><input type="text" name="code" id="" value="{{$user->code}}" class="info_input info_input_170" /></td>
                        </tr>
                    </tbody>
                </table>
                <div class="edit_info_button">
					<input type="submit" name="" value="保&nbsp;&nbsp;存" id="" class="yellow_button yellow_button_01" />
				</div>
            </div><!--edit_info_m end-->

            <div class="blank10"></div>

        </form>
        </div><!--edit_info end-->
    </div><!--personal_r_m end-->
    <div class="personal_r_b"></div>
</div><!--personal_r end-->
@stop
